Adwaita: Update tooltip theming
authorMatthias Clasen <mclasen@redhat.com>
Tue, 27 Oct 2015 19:12:47 +0000 (15:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 28 Oct 2015 00:06:24 +0000 (20:06 -0400)
Use the newly introduced element name instead of hardcoding the type.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index ab9c00a183b0d3c018c7c535e639d98e603f0d36..e3568250f61b5e703875223a8190addf0d8e34e6 100644 (file)
@@ -3015,7 +3015,7 @@ infobar {
  * Tooltips *
  ************/
 
-.tooltip {
+tooltip {
   &.background {
     // background-color needs to be set this way otherwise it gets drawn twice
     // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
@@ -3037,7 +3037,7 @@ infobar {
   }
 }
 
-.tooltip * { //Yeah this is ugly
+tooltip * { //Yeah this is ugly
   padding: 4px;
   background-color: transparent;
   color: inherit; // just to be sure
index 0d832bd5ce5fd5d53fdee43b2cf4778624b44a67..d956998e49da2e89f7dcfec773cf03adb00f1d0c 100644 (file)
@@ -4148,21 +4148,21 @@ infobar {
 /************
  * Tooltips *
  ************/
-.tooltip {
+tooltip {
   color: white;
   padding: 4px;
   /* not working */
   border-radius: 5px;
   box-shadow: none;
   text-shadow: 0 1px black; }
-  .tooltip.background {
+  tooltip.background {
     background-color: rgba(0, 0, 0, 0.8);
     background-clip: padding-box;
     border: 1px solid rgba(255, 255, 255, 0.1); }
-  .tooltip decoration.csd {
+  tooltip decoration.csd {
     background-color: transparent; }
 
-.tooltip * {
+tooltip * {
   padding: 4px;
   background-color: transparent;
   color: inherit; }
index 10a203d6ea824166add39b30a078fb4e1834b719..848c0e71671e0dff06d96d3015e63f2ae3e26e42 100644 (file)
@@ -4320,21 +4320,21 @@ infobar {
 /************
  * Tooltips *
  ************/
-.tooltip {
+tooltip {
   color: white;
   padding: 4px;
   /* not working */
   border-radius: 5px;
   box-shadow: none;
   text-shadow: 0 1px black; }
-  .tooltip.background {
+  tooltip.background {
     background-color: rgba(0, 0, 0, 0.8);
     background-clip: padding-box;
     border: 1px solid rgba(255, 255, 255, 0.1); }
-  .tooltip decoration.csd {
+  tooltip decoration.csd {
     background-color: transparent; }
 
-.tooltip * {
+tooltip * {
   padding: 4px;
   background-color: transparent;
   color: inherit; }